import logging

logging.basicConfig(level=logging.DEBUG,format="%(asctime)s [%(name)s][%(levelname)s] => %(message)s")

def get_logger(name,level=logging.DEBUG):

    logger= logging.getLogger(name)
    logger.setLevel(level)
    return logger


